package Platform.WandaProjectAuth;

import Base.TestBase;
import org.testng.annotations.*;
import org.testng.mustache.Value;

/**
 * Created by Alain on 2016/3/9.
 */
public class ProjectAuthOps extends TestBase {
    ProjectAuth PJA = new ProjectAuth();

    @Test
    public void createRole() { PJA.createRole(); }

    @Test
    public void getRoleList() { PJA.getRoleList(); }

    @Test
    public void setRolePrivilege() { PJA.setRolePrivilege(); }

    @Test (dependsOnMethods = "setRolePrivilege")
    public void getRolePrivilege() { PJA.getRolePrivilege(); }

    @Test
    public void setUserRole() { PJA.setUserRole(); }

    @Test
    public void setOrgRole() { PJA.setOrgRole(); }

    @Test
    public void setOrgDataPrivilege() { PJA.setOrgDataPrivilege(); }

    @Test
    public void getUserRoleList() { PJA.getUserRoleList(); }

    @Test
    public void getOrgRoleList() { PJA.getOrgRoleList(); }

    @Test
    public void getOrgDataPrivilege() { PJA.getOrgDataPrivilege(); }

    @Test
    public void getUserDataPrivilege() { PJA.getUserDataPrivilege(); }

    @Test
    public void deleteRole() { PJA.deleteRole(); }

    @Test
    public void deleteRolePrivilege() { PJA.deleteRolePrivilege(); }

    @Test
    public void deleteUserRole() { PJA.deleteUserRole(); }

    @Test
    public void deleteOrgRole() { PJA.deleteOrgRole(); }

    @Test
    public void deleteOrgDataPrivilege() { PJA.deleteOrgDataPrivilege(); }

    @Test
    public void setUserDataPrivilege() { PJA.setUserDataPrivilege(); }

    @Test
    public void deleteUserDataPrivilege() { PJA.deleteUserDataPrivilege(); }

    @Test
    public void getOrgList() { PJA.getOrgList(); }

    @Test
    public void getUserList() { PJA.getUserList(); }

    @Test
    public void getDataPrivilegeList() { PJA.getDataPrivilegeList(); }

    @Test
    public void getFunctionPrivilegeList() { PJA.getFunctionPrivilegeList(); }

    @Test
    public void getCurrentUserRoleList() { PJA.getCurrentUserRoleList(); }

    @Test
    public void getCurrentUserDataPrivilege() { PJA.getCurrentUserDataPrivilege(); }

    @Test
    public void modifyUserRole() { PJA.modifyUserRole(); }
}
